<div class="box">
  <div class="col-md-10 b-l bg-auto" id='user-info-container'>
    <div class="users-news col-md-12" id="user-info-content">
      <p class="profile-title col-md-12">账户信息修改</p>
    <%= form_for(@user ) do |f| %>
        <div class="col-md-3 left-img">
          <div class="">
            <a href class="w-xs inline" id="backgroundPicPathLogo-a">
              <img src=" " id="backgroundPicPathLogo">
            </a>
            <div class="upload-img">
              <input type="file" id="backgroundPicLogo"/>
            </div>
          </div>
        </div>
        <%= render 'shared/error_messages', object: @user %>
          <div class="col-md-3 user-news">
            <div class="form-group">
        <%= f.label '登录名' %>
        <%= f.text_field :username ,readOnly: 'true', disabled:'true' %>
           </div><div class="form-group">
        <%= f.label 'name' %>
        <%= f.text_field :name %>
          </div><div class="form-group">
        <%= f.label 'email' %>
        <%= f.email_field :email %>
          </div><div class="form-group">
        <%= f.label '密码' %>
        <%= f.password_field :password %>
          </div><div class="form-group">
        <%= f.label '再次确认密码'  %>
        <%= f.password_field :password_confirmation %>
          </div>
        <%= f.submit "保存", class: "btn btn-primary" %>
          </div>
        <% end %>

        </div>
    </div>
    </div>

